package com.lang.dao;

import com.lang.entity.Address;

import java.util.List;

/*
 * @Date : 2024/3/14 10:47
 * @Created by Lang
 * @ProjectName : LclShop
 */
public interface AddressDao {
    List<Address> getAddress(int uId);

    int addAddress(Address address);

    int deleteAddressByAid(String aid);

    int updateAddress(Address address);

    int updateDefault(String aid);

    int updateNoDefault(int uid);

    int deleteAddressByUid(String id);
}
